package xyz.mumuwei.youthcourseserver.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author mumuwei
 * @date 2022/2/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RouterDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private String path;
    private String component;
    private String redirect;
    private Boolean hidden;
    private Boolean alwaysShow;
    private Map<String, Object> meta = new HashMap<>();
    private List<RouterDto> children = new ArrayList<>();
}
